Bicycle ergometer with functional electric stimulation